﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IQKS.AWP.DataAccessLayer
{
   public class ErrorDAL
    {
       public object SetErrorMaster(string Message,string StackTrace,DateTime GeneratedDate,string Layer)
       {
           try
           {
               return DataUtils.ExecuteScalar("usp_SetErrorInfo",  Message, StackTrace, GeneratedDate, Layer);
           }
           catch (Exception ex)
           {
               throw new ApplicationException(ex.Message);
           }
       }
    }
}
